package com.seeyon.apps.kk.cap4Widget;

import java.util.List;

import com.seeyon.cap4.form.bean.fieldCtrl.FormFieldCustomCtrl;

/**
 * <pre>
 * 自定义控件:BIM选择构件
 * </pre>
 */
public class MultipleSelectWidget extends FormFieldCustomCtrl {

    @Override
    public String getKey() {
        return "5550438035101852361";
    }

    @Override
    public String getText() {
        return "强生表单控件";
    }

    @Override
    public String getFieldLength() {
        return "4000";
    }

    @Override
    public void init() {
        setPluginId("multipleSelect");
    }

    @Override
    public String getIcon() {
        return "";
    }

    @Override
    public String getPCInjectionInfo() {
        return "{path:'apps_res/cap/multipleSelect/',jsUri:'js/location.js',initMethod:'init',nameSpace:'field_" + this.getKey() + "'}";
    }

    @Override
    public String getMBInjectionInfo() {
        return "{path:'http://mapResource.v5.cmp/v1.0.0/',weixinpath:'invoice',jsUri:'js/location.js',initMethod:'init',nameSpace:'feild_" + this.getKey() + "'}";
    }

    @Override
    public boolean canBathUpdate() {
        return false;
    }

    @Override
    public List<String[]> getListShowDefaultVal(Integer externalType) {
        return null;
    }

    @Override
    public String[] getDefaultVal(String defaultValue) {
        return new String[0];
    }

    @Override
    public boolean canInjectionWord() {
        return false;
    }

    /**
     * 作为查询统计的输出项
     * @return
     */
    public boolean canShowInReport() {
        return true;
    }
}
